#ifndef MEDIAPLAY_BASE_H
#define MEDIAPLAY_BASE_H
#include <iostream>
#include "Data/Model_Base.h"
class MediaPlay_Base
{
public:
    MediaPlay_Base():m_playmode(0){SDL_Init(SDL_INIT_AUDIO); };
    virtual ~MediaPlay_Base();

private:
    virtual int play() = 0 ;
    virtual int stop() = 0 ;
    virtual int pause() = 0 ;
    virtual int seek() = 0 ;

    virtual bool previous() = 0 ;
    virtual bool next() = 0 ;

    int m_playmode;
    int getplaymode()
    {
        return m_playmode;
    }

};

#endif // MEDIAPLAY_BASE_H
